
<% provide(:title, @category.name) %>

<div id="content_title"><%= t(@category.name) %></div>
<hr noshade size="1">

<%= render 'documents/browse-options' %>

<%= will_paginate @elements %>

<ul class="categories">
	<% if @elements.each do |element| %>
		<%= render element %>
	<% end.empty? %>
		<%= t('content.list.no_elements', elements: t('content.list.element', count: 2)) %>
	<% end %>
</ul>

<%= will_paginate @elements %>